package com.dshore.messagecenter.model.warning;

import com.dshore.messagecenter.model.Property;

/**
 * 预警阈值
 * @author Administrator
 *
 */
public class MrWarningThreshold extends Property{
	/**
	 * 预警阈值id
	 */
	private String id;
	/**
	 * 指标Id
	 */
	private String kpiId;
	/**
	 * 扫描间隔
	 */	
	private String  monitoringPeriod;
	/**
	 * 监控阈值
	 */
	private Integer  monitoringThreshold;
	/**
	 * 通知人id
	 */
	private String  principalId;
	/**
	 * 通知方式
	 */
	private String  warningType;
	/**
	 * 比较符
	 */
	private String  comparisonOperators;
	/**
	 * 监控对象类型
	 */
	private String objType;
	/**
	 * 监控对象
	 */
	private String obj;
	/**
	 * 单位
	 */
	private String unitCode;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getKpiId() {
		return kpiId;
	}
	public void setKpiId(String kpiId) {
		this.kpiId = kpiId;
	}
	public String getMonitoringPeriod() {
		return monitoringPeriod;
	}
	public void setMonitoringPeriod(String monitoringPeriod) {
		this.monitoringPeriod = monitoringPeriod;
	}
	
	public Integer getMonitoringThreshold() {
		return monitoringThreshold;
	}
	public void setMonitoringThreshold(Integer monitoringThreshold) {
		this.monitoringThreshold = monitoringThreshold;
	}
	public String getPrincipalId() {
		return principalId;
	}
	public void setPrincipalId(String principalId) {
		this.principalId = principalId;
	}
	public String getWarningType() {
		return warningType;
	}
	public void setWarningType(String warningType) {
		this.warningType = warningType;
	}
	
	public String getComparisonOperators() {
		return comparisonOperators;
	}
	public void setComparisonOperators(String comparisonOperators) {
		this.comparisonOperators = comparisonOperators;
	}
	
	public String getObjType() {
		return objType;
	}
	public void setObjType(String objType) {
		this.objType = objType;
	}
	public String getObj() {
		return obj;
	}
	public void setObj(String obj) {
		this.obj = obj;
	}
	
	public String getUnitCode() {
		return unitCode;
	}
	public void setUnitCode(String unitCode) {
		this.unitCode = unitCode;
	}
	@Override
	public String toString() {
		return "MrWarningThreshold [id=" + id + ", kpiId=" + kpiId + ", monitoringPeriod=" + monitoringPeriod
				+ ", monitoringThreshold=" + monitoringThreshold + ", principalId=" + principalId + ", warningType="
				+ warningType + ", comparisonOperators=" + comparisonOperators + ", objType=" + objType + ", obj=" + obj
				+ ", unitCode=" + unitCode + "]";
	}
	
	
	
	
}
